import 'package:get/get.dart';
import 'package:verse_systems/commom/routers/routes.dart';
import 'package:verse_systems/pages/authentication/authentication_binding.dart';

/*RouteConfig路由页面加入routes管理*/

class RouteConfig {
  // static final RouteObserver<Route> observer = RouteObservers();
  static List<String> history = [];
  static final List<GetPage> routes = [
    GetPage(
        name: RoutesPage.Login,
        page: () => const LoginPage(),
        binding: LoginBinding()),
    GetPage(
      name: RoutesPage.Application,
      page: () => const TabbarPages(),
    ),
  
    GetPage(
        name: RoutesPage.Authentication,
        page: () => const Authentication(),
        binding: AuthenticationBinding()),
    GetPage(
      name: RoutesPage.AuthenticationPoint,
      page: () => const AuthenticationPoint(),
    ),
    GetPage(
      name: RoutesPage.AuthenticationInfo,
      page: () => const AuthenticationInfo(),
    ),
    GetPage(
      name: RoutesPage.AuthenticationBank,
      page: () => const AuthenticationBank(),
    ),
    GetPage(
      name: RoutesPage.AuthenticationBankInfo,
      page: () => const AuthenticationBankInfo(),
    ),
    GetPage(
        name: RoutesPage.Certification,
        page: () => const Certification(),
        binding: CertificationBinding()),
    GetPage(
      name: RoutesPage.CertificationConfirmAmount,
      page: () => const CertificationConfirmAmount(),
    ),
    GetPage(
      name: RoutesPage.AboutUs,
      page: () => const MieAboutUsPage(),
    ),
    GetPage(
      name: RoutesPage.MieLogOff,
      page: () => const MineLogOffPage(),
    ),
    GetPage(
      name: RoutesPage.MieQuestion,
      page: () => const MieQuestion(),
    ),
    GetPage(
      name: RoutesPage.MieVIP,
      page: () => const MieAVipPage(),
    ), 
    GetPage(
      name: RoutesPage.OrderPage,
      page: () => const OrderPage(),
      binding: OderBinding()
    ),
    GetPage(
      name: RoutesPage.OrderDetails,
      page: () => const OrderDetailsPage(),
      binding: OderDetailsBinding()
    ), 
    GetPage(
      name: RoutesPage.Repayment,
      page: () => const RepaymentPage(),
      binding: RepaymentBinding()
    ),
    GetPage(
      name: RoutesPage.RepaymentonCfirm,
      page: () => const RepaymentConfirm()
    ),
    GetPage(
      name: RoutesPage.RepaymentonExtend,
      page: () => const RepaymentExtend()
    ),
    GetPage(
      name: RoutesPage.RepaymentonBankInfo,
      page: () => const RepaymentBankInfo()
    ), 
    GetPage(
      name: RoutesPage.LuckyWheel,
      page: () => const LuckyWheelPage()
    ), 
    
    
  ];
}
